export const column = [
    {
        label: 'ID',
        name: 'id',
        width: '80',
    },
    {
        label: '故障大类名称',
        name: 'trouble',
    },
    {
        label: '故障大类代码',
        name: 'typecode',
    },
    {
        label: '模型类型',
        name: 'modeltype',
    },
    {
        label: '故障模型代码',
        name: 'warncode',
    },
    {
        label: '故障模型描述',
        name: 'description',
    },
    {
        title: '操作',
        name: 'action',
        width: '260',
        buttons: [],
    },
]

export const config = [
    {
        name: 'trouble',
        type: 'input',
        placeholder: '故障大类名称',
        label: '故障大类名称',
        required: true,
    },
    {
        name: 'typecode',
        type: 'input',
        placeholder: '故障大类代码',
        label: '故障大类代码',
        required: true,
    },
    {
        name: 'modeltype',
        type: 'input',
        placeholder: '模型类别',
        label: '模型类别',
        required: true,
    },
    {
        name: 'description',
        type: 'input',
        placeholder: '故障模型描述',
        label: '故障模型描述 ',
        required: true,
    },
    {
        name: 'warncode',
        type: 'input',
        placeholder: '故障模型代码',
        label: '故障模型代码',
        required: true,
    },
    {
        name: 'modelcode',
        type: 'input',
        placeholder: '模型代码',
        label: '模型代码',
        required: true,
    },
    {
        name: 'config',
        type: 'textarea',
        placeholder: 'JSON配置',
        label: 'JSON配置',
        required: true,
    },
]
